package com.project.frba.bifront.client.rpc;

import java.util.Map;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.project.frba.bifront.client.model.BarChartInformation;
import com.project.frba.bifront.client.model.Dashboard;
import com.project.frba.bifront.client.model.LineChartInformation;
import com.project.frba.bifront.client.model.PieChartInformation;

public interface ChartServicesAsync {
	
	public void doPieChart(PieChartInformation info, AsyncCallback<String> cb);
	
	public void doChart(String serializedChard, Integer width, Integer height, AsyncCallback<String> cb);
	
	public void doLineChart(LineChartInformation chartInfo, AsyncCallback<String> cb);

	public void doBarChart(BarChartInformation chartInfo, AsyncCallback<String> cb);
	
	public void doChart(Dashboard dashboard, AsyncCallback<Map<Integer, String>> cb);

}
